<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:url('adminIndex/index')}">本站用户</a></li>
			<li class="active"><a >编辑</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('adminIndex/editlabelPost')}">
          
           <div class="form-group">
                <label for="input-maintain_switch" class="col-sm-2 control-label"><span class="form-required">*</span>标签管理</label>
                <div class="col-md-6 col-sm-10">
                    <select class="form-control" name="label_id">
						<option value="0" >无</option>
						<volist name="labellist" id="v">
							<option value="{$v['id']}" <if condition="$v['id'] eq $userlabel['label_id']">selected</if>>{$v['name']}</option>
                        </volist>
                    </select>
                </div>
            </div>
           
            <div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="id" value="{$userlabel.id}" />
					<input type="hidden" name="uid" value="{$uid}" />
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('EDIT')}</button>
					<a class="btn btn-default" href="{:url('adminIndex/index')}">{:lang('BACK')}</a>
				</div>
			</div>

		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>